﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Views/Shared/Default.Master" CodeBehind="Setup.aspx.cs" Inherits="AcademicPlanner.Presentation.Views.People.Setup" %>
<%@ Import Namespace="AcademicPlanner.Framework.Helpers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headplace" runat="server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="pageheadingplace" runat="server">
	<%= Html.Encode(pageHeading) %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="contentplace" runat="server">
	<% if (Model.Person == null)
	{ %>
		<%= WidgetHelper.InfoMessageBlock(Tr("We cannot help you complete your registration at this moment!" +
			" It is possible that the token you supplied is invalid or has expired. If you entered the url manually, " +
			" please make sure it matches the one in the email you received. If you did not receive an email, " +
			" please try registering again.")) %>
	<% }
	else
	{ %>
		<p><%= Html.Encode(Tr("Thank you for wanting to join us. Fill out the form below to complete your registration."))%></p>
		<% Html.RenderPartial("SavePersonForm", SavePersonModel); %>
	<% } %>
</asp:Content>
